xen/arm: traps: Don't panic when receiving an unknown debug trap
authorJulien Grall <jgrall@amazon.com>
Thu, 5 Nov 2020 22:31:06 +0000 (22:31 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Sun, 11 Jul 2021 12:29:50 +0000 (14:29 +0200)
commit13ac550986096f0965775fcaca51eaf357465238
treefc64ad49c023fae965c03f8bc3a7757c56e9e62b
parentc41241dc11067d76f280ea390fca305bc8994628
xen/arm: traps: Don't panic when receiving an unknown debug trap

Even if debug trap are only meant for debugging purpose, it is quite
harsh to crash Xen if one of the trap sent by the guest is not handled.

So switch from a panic() to a printk().

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 957708c2d1ae25d7375abd5e5e70c3043d64f1f1)
xen/arch/arm/traps.c